<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	xmlns:f="http://java.sun.com/jsf/core">
	<div style="padding-bottom: 6px; margin-top: 50px">
		<h:form>
			<p:menubar autoDisplay="false">
				<p:menuitem value="#{msg.menubar_title_home}"
					icon="ui-icon ui-icon-home" url="/pages/index.xhtml" />
				<p:submenu label="#{msg.DanhMuc}">
					<p:menuitem value="#{msg.DoiTac}"
						actionListener="#{DoiTacBean.reloadPage}" />
					<p:menuitem value="#{msg.Kho}" url="/pages/danhmuc/kho.xhtml" />
					<p:menuitem value="#{msg.LoaiVatTuHangHoa}"
						actionListener="#{LoaiVTHHBean.reloadPage}" />
					<p:menuitem value="#{msg.NganHang}"
						url="/pages/danhmuc/nganHang.xhtml" />
					<p:menuitem value="#{msg.NhanVien}"
						actionListener="#{NhanVienBean.reloadPage}" />
					<p:menuitem value="#{msg.NhomDoiTac}"
						actionListener="#{NhomDoiTacBean.reloadPage}" />
					<p:menuitem value="#{msg.PhongBan}"
						actionListener="#{PhongBanBean.reloadPage}" />
					<p:menuitem value="#{msg.TaiKhoanNganHang}"
						url="/pages/danhmuc/taiKhoanNganHang.xhtml" />
					<p:menuitem value="#{msg.VatTuHangHoa}"
						url="/pages/danhmuc/vatTuHangHoa.xhtml" />
				</p:submenu>

				<p:submenu label="#{msg.NghiepVu}">
					<p:submenu label="#{msg.congNo}">
						<p:menuitem value="#{msg.noPhaiThu}"
							url="/pages/nghiepvu/congno/noPhaiThu.xhtml" />
						<p:menuitem value="#{msg.noPhaiTra}"
							url="/pages/nghiepvu/congno/noPhaiTra.xhtml" />

					</p:submenu>

					<p:submenu label="#{msg.Quy}">
						<p:menuitem value="#{msg.phieuThuChi}"
							url="/pages/nghiepvu/quy/phieuThuChi.xhtml" />
						<p:menuitem value="#{msg.soQuy}"
							url="/pages/nghiepvu/quy/soQuy.xhtml" />

					</p:submenu>
					<p:submenu label="#{msg.muaBanHang}">
						<p:menuitem value="#{msg.baoGia}"
							url="/pages/nghiepvu/muabanhang/baoGia.xhtml" />
						<p:menuitem value="#{msg.trangThaiDonHang}"
							url="/pages/nghiepvu/muabanhang/trangThaiDonHang.xhtml" />
						<p:menuitem value="#{msg.doiSoat}"
							url="/pages/nghiepvu/muabanhang/doiSoat.xhtml" />
						<p:menuitem value="#{msg.donHang}"
							actionListener="#{DonHangBean.reloadPage}" />
						<p:menuitem value="#{msg.hoaDon}"
							url="/pages/nghiepvu/muabanhang/hoaDon.xhtml" />

					</p:submenu>

					<p:submenu label="#{msg.Kho}">
						<p:menuitem value="#{msg.nhapXuatKho}"
							actionListener="#{PhieuNhapXuatBean.reloadPage}" />
						<p:menuitem value="#{msg.LapRapThaoDo}"
							url="/pages/nghiepvu/kho/lapRapThaoDo.xhtml" />
						<p:menuitem value="#{msg.tonKho}"
							actionListener="#{TonKhoBean.reloadPage}" />

					</p:submenu>


				</p:submenu>

				<p:submenu label="#{msg.DichVuBaoHanh}">
					<p:menuitem value="#{msg.BaoHanhThietBi}"
						url="/pages/dichvubaohanh/baoHanhThietBi.xhtml" />
					<p:menuitem value="#{msg.NhanThietBi}"
						url="/pages/dichvubaohanh/nhanThietBi.xhtml" />
					<p:menuitem value="#{msg.SuaChuaThietBi}"
						url="/pages/dichvubaohanh/suaChuaThietBi.xhtml" />
					<p:menuitem value="#{msg.TraThietBi}"
						url="/pages/dichvubaohanh/traThietBi.xhtml" />
				</p:submenu>

				<p:submenu label="#{msg.menubar_title_privilege}">
					<p:menuitem value="#{msg.menubar_title_users}"
						url="/pages/privilege/users.xhtml" />
					<p:menuitem value="#{msg.menubar_title_groups}"
						url="/pages/privilege/groups.xhtml" />
					<p:menuitem value="#{msg.menubar_title_roles}"
						url="/pages/privilege/roles.xhtml" />
				</p:submenu>
				<p:menuitem value="#{msg.menubar_title_audit}"
					url="/pages/audit/audit.xhtml" />

				<p:menuitem value="#{msg.TienIch}" url="/pages/tienIch.xhtml" />

				<p:menuitem value="#{msg.HuongDan}" url="/pages/huongDan.xhtml" />
				<p:menuitem value="#{msg.menubar_title_back}"
					onclick="history.go(-1)"
					icon="ui-icon ui-icon-arrowreturnthick-1-w" />
				<f:facet name="options">
					<p:commandButton id="aboutButton" styleClass="smallButton"
						icon="ui-icon ui-icon-notice" onclick="aboutDialogToolBar.show()" />
					<p:tooltip for="aboutButton" value="#{msg.general_about}" />
				</f:facet>
			</p:menubar>

			<p:dialog id="aboutDialogToolBar" widgetVar="aboutDialogToolBar"
				header="#{msg.general_about_header}" resizable="false"
				style="min-width:400px">
				<br />
				<h:outputText style="text-align: center" escape="false"
					value="#{msg.project_about}" />
				<br />
			</p:dialog>
		</h:form>
	</div>
</ui:composition>
